import {createRouter, createWebHashHistory} from 'vue-router'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
       {
        path: '/',
        component: () => import('../components/Add.vue')
       },
       {
        path: '/edit',
        component: () => import('../components/Edit.vue')
       }
    ]
})

export default router